import http from './http'

export const login = (data) => {
	return http.post('/login', data)
}

export const register = (data) => {
	return http.post('/register', data)
}

export const logout = (data) => {
	return http.post('/logout', data)
}